package org.beynet.docs.sync;

import java.net.URI;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;


/**
 * tag used to store a current upload
 * @author beynet
 *
 */
@XmlType(name="upload")
public class CurrentUpload {
    @XmlAttribute(name="filepath")
    public String getFilePath() {
        return(this.filePath);
    }
    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
    
    @XmlValue
    public URI getURI() {
        return(this.uri);
    }
    public void setURI(URI uri) {
        this.uri = uri;
    }
    
    private String filePath ;
    private URI    uri      ;
}
